class {
    onMount() {
        window.component = this;
    }
}

<container>
    <@renderBody> 
        <child key="child"/>
    </@renderBody>
</container>
